package com.xmutca.sso.api.manager.service;

import com.xmutca.core.common.Receipt;
import com.xmutca.core.common.Result;
import com.xmutca.core.common.Results;
import com.xmutca.core.common.exception.ServiceException;
import com.xmutca.core.dubbo.ServiceMock;
import com.xmutca.sso.api.Account;

import javax.validation.constraints.Min;
import java.util.List;
import java.util.Map;

/**
 * @author: 彭伟煌(pengweihuang@xmutca.com)
 * @create: 2016-08-25 16:30
 */
public class AccountServiceMock extends ServiceMock implements AccountService {

    @Override
    public Result<Account> get(String id) {
        return mock(Result.class);
    }

    @Override
    public Receipt assignPermission(String id, List<Integer> permissions) {
        return mock(Receipt.class);
    }

    @Override
    public Receipt assignRole(String id, List<Integer> roles) {
        return mock(Receipt.class);
    }

    @Override
    public Receipt recoveryPermission(String id, List<Integer> permissions) {
        return mock(Receipt.class);
    }

    @Override
    public Receipt recoveryRole(String id, List<Integer> roles) {
        return mock(Receipt.class);
    }

    @Override
    public Results<Account> query(int current, int pageSize, Map<String, Object> paramMap) {
        return mock(Results.class);
    }
}
